<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>为你推荐 - 心愿清单</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        /* 基础样式 */
        body {
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: #f8f9fa;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
        }
        
        /* 页面头部 */
        .page-header {
            padding: 1.5rem 0;
            border-bottom: 1px solid #e9ecef;
            margin-bottom: 2rem;
        }
        
        .page-title {
            font-weight: 700;
            color: #2d3436;
            margin-bottom: 0.5rem;
        }
        
        .page-subtitle {
            color: #6c757d;
            font-size: 1rem;
            font-weight: 400;
        }
        
        /* 分类标签 */
        .category-tabs {
            display: flex;
            gap: 0.75rem;
            margin-bottom: 2rem;
            overflow-x: auto;
            padding-bottom: 0.5rem;
            scrollbar-width: thin;
        }
        
        .category-tab {
            padding: 0.5rem 1.25rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            white-space: nowrap;
            cursor: pointer;
            transition: all 0.2s;
            background-color: white;
            border: 1px solid #dee2e6;
            color: #495057;
        }
        
        .category-tab.active {
            background-color: #28a745;
            color: white;
            border-color: #28a745;
        }
        
        .category-tab:hover:not(.active) {
            background-color: #f1f3f5;
        }
        
        /* 推荐类型标题 */
        .section-heading {
            font-weight: 600;
            margin: 2.5rem 0 1.5rem;
            color: #2d3436;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        
        .section-heading i {
            color: #28a745;
        }
        
        /* 许愿卡片容器 */
        .wish-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .wish-row {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        /* 许愿卡片基础样式 */
        .wish-card {
            background-color: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .wish-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.12);
        }
        
        /* 特殊卡片样式 */
        .featured-card {
            grid-column: span 2;
            flex-direction: row;
        }
        
        .wide-card {
            grid-column: span 2;
        }
        
        /* 媒体容器 - 支持有图和无图 */
        .wish-media {
            position: relative;
            width: 100%;
            flex-shrink: 0;
            background-color: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        /* 不同比例的媒体容器 */
        .media-standard {
            height: 200px;
        }
        
        .media-wide {
            height: 280px;
        }
        
        .media-featured {
            width: 50%;
            height: auto;
            min-height: 300px;
        }
        
        /* 无图片状态 */
        .no-media {
            color: #6c757d;
            text-align: center;
            padding: 2rem 1rem;
        }
        
        .no-media i {
            font-size: 3rem;
            margin-bottom: 0.75rem;
            opacity: 0.7;
        }
        
        /* 有图片的网格布局 */
        .media-grid {
            display: grid;
            width: 100%;
            height: 100%;
            gap: 3px;
        }
        
        .one-photo {
            grid-template-columns: 1fr;
        }
        
        .two-photos {
            grid-template-columns: 1fr 1fr;
        }
        
        .three-photos {
            grid-template-columns: 2fr 1fr;
            grid-template-rows: 1fr 1fr;
        }
        
        .three-photos img:first-child {
            grid-column: 1;
            grid-row: 1 / 3;
        }
        
        .four-photos {
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr;
        }
        
        .wish-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .wish-card:hover .wish-media img {
            transform: scale(1.05);
        }
        
        /* 图片数量指示 */
        .image-count {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background-color: rgba(0,0,0,0.6);
            color: white;
            border-radius: 12px;
            padding: 2px 8px;
            font-size: 0.75rem;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        /* 许愿信息 */
        .wish-info {
            padding: 1.25rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .featured-card .wish-info {
            width: 50%;
        }
        
        /* 许愿类型标签 */
        .wish-type {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            margin-bottom: 0.75rem;
        }
        
        .type-material {
            background-color: #e3f2fd;
            color: #0d47a1;
        }
        
        .type-experience {
            background-color: #e8f5e9;
            color: #1b5e20;
        }
        
        .type-relationship {
            background-color: #fff3e0;
            color: #e65100;
        }
        
        .type-achievement {
            background-color: #f3e5f5;
            color: #4a148c;
        }
        
        /* 标题和描述 */
        .wish-title {
            font-weight: 600;
            font-size: 1.15rem;
            color: #2d3436;
            margin-bottom: 0.75rem;
            transition: color 0.3s;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .featured-card .wish-title {
            font-size: 1.5rem;
            -webkit-line-clamp: 3;
        }
        
        .wish-card:hover .wish-title {
            color: #28a745;
        }
        
        .wish-description {
            color: #6c757d;
            font-size: 0.9rem;
            margin-bottom: 1rem;
            flex: 1;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.6;
        }
        
        .featured-card .wish-description {
            font-size: 0.95rem;
            -webkit-line-clamp: 4;
        }
        
        /* 作者信息 */
        .author-info {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid #f1f1f1;
        }
        
        .author-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .author-details {
            flex: 1;
        }
        
        .author-name {
            font-weight: 500;
            color: #2d3436;
            margin-bottom: 0;
            font-size: 0.9rem;
        }
        
        .post-time {
            font-size: 0.8rem;
            color: #adb5bd;
        }
        
        /* 统计和操作按钮 */
        .wish-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.85rem;
            color: #6c757d;
        }
        
        .action-stats {
            display: flex;
            gap: 1rem;
        }
        
        .stat-item {
            display: flex;
            align-items: center;
            gap: 0.35rem;
        }
        
        .wish-interactions {
            display: flex;
            gap: 0.75rem;
        }
        
        .interaction-btn {
            background: none;
            border: none;
            color: #6c757d;
            cursor: pointer;
            transition: all 0.2s;
            padding: 0.25rem;
            border-radius: 4px;
        }
        
        .interaction-btn:hover {
            color: #28a745;
            background-color: #f1f8e9;
        }
        
        /* 加载更多 */
        .load-more {
            text-align: center;
            margin: 3rem 0;
        }
        
        .load-more-btn {
            padding: 0.75rem 2rem;
            border-radius: 30px;
            font-weight: 500;
            background-color: white;
            border: 1px solid #28a745;
            color: #28a745;
            transition: all 0.2s;
        }
        
        .load-more-btn:hover {
            background-color: #28a745;
            color: white;
        }
        
        /* 响应式调整 */
        @media (max-width: 992px) {
            .featured-card {
                grid-column: span 1;
                flex-direction: column;
            }
            
            .featured-card .wish-media,
            .featured-card .wish-info {
                width: 100%;
            }
            
            .wide-card {
                grid-column: span 1;
            }
        }
        
        @media (max-width: 768px) {
            .wish-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
            
            .media-featured {
                min-height: 250px;
            }
        }
        
        @media (max-width: 576px) {
            .wish-grid {
                grid-template-columns: 1fr;
            }
            
            .media-standard {
                height: 180px;
            }
            
            .media-wide {
                height: 220px;
            }
            
            .wish-actions {
                flex-wrap: wrap;
                gap: 0.75rem;
            }
            
            .wish-interactions {
                margin-top: 0.5rem;
                width: 100%;
                justify-content: flex-end;
            }
        }
        
        /* 动画效果 */
        .fade-in {
            opacity: 0;
            transform: translateY(15px);
            transition: opacity 0.5s ease-out, transform 0.5s ease-out;
        }
        
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
    </style>
</head>
<body>
    <div class="container py-4">
        <!-- 页面头部 -->
        <div class="page-header">
            <h1 class="page-title">为你推荐的愿望</h1>
            <p class="page-subtitle">根据你的兴趣，发现值得关注的愿望</p>
        </div>
        
        <!-- 分类标签 -->
        <div class="category-tabs">
            <div class="category-tab active">全部愿望</div>
            <div class="category-tab">物品类</div>
            <div class="category-tab">体验类</div>
            <div class="category-tab">人际类</div>
            <div class="category-tab">成就类</div>
            <div class="category-tab">热门推荐</div>
            <div class="category-tab">附近的愿望</div>
            <div class="category-tab">新发布</div>
        </div>
        
        <!-- 精选愿望 -->
        <h2 class="section-heading">
            <i class="fas fa-star"></i> 精选愿望
        </h2>
        
        <div class="wish-card featured-card fade-in">
            <div class="wish-media media-featured">
                <div class="media-grid three-photos">
                    <img src="https://picsum.photos/800/800?random=21" alt="山区支教照片1">
                    <img src="https://picsum.photos/400/400?random=22" alt="山区支教照片2">
                    <img src="https://picsum.photos/400/400?random=23" alt="山区支教照片3">
                </div>
                <div class="image-count">
                    <i class="fas fa-images"></i> 3
                </div>
            </div>
            
            <div class="wish-info">
                <span class="wish-type type-experience">体验类</span>
                <h3 class="wish-title">计划明年夏天去山区支教一个月，寻找同行伙伴和教学资源</h3>
                
                <p class="wish-description">
                    一直有个支教梦，希望能为山区的孩子们带去一些知识和外面世界的故事。计划明年7-8月去云南山区支教一个月，目前正在准备教学大纲，主要想教孩子们英语和美术。希望能找到有经验的同行伙伴，也希望能募集一些适合小学生的图书、文具和体育用品。有相关资源或经验的朋友请联系我，非常感谢！
                </p>
                
                <div class="author-info">
                    <img src="https://picsum.photos/200/200?random=201" alt="李老师的头像" class="author-avatar">
                    <div class="author-details">
                        <p class="author-name">李老师 - 小学语文教师</p>
                        <div class="post-time">发布于 2周前 · 已认证</div>
                    </div>
                </div>
                
                <div class="wish-actions">
                    <div class="action-stats">
                        <div class="stat-item">
                            <i class="far fa-eye"></i>
                            <span>5.2k</span>
                        </div>
                        <div class="stat-item">
                            <i class="far fa-comment"></i>
                            <span>217</span>
                        </div>
                        <div class="stat-item">
                            <i class="far fa-heart"></i>
                            <span>1.8k</span>
                        </div>
                    </div>
                    <div class="wish-interactions">
                        <button class="interaction-btn" title="点赞">
                            <i class="far fa-heart"></i>
                        </button>
                        <button class="interaction-btn" title="收藏">
                            <i class="far fa-bookmark"></i>
                        </button>
                        <button class="interaction-btn" title="评论">
                            <i class="far fa-comment"></i>
                        </button>
                        <button class="interaction-btn" title="分享">
                            <i class="far fa-share-square"></i>
                        </button>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 热门愿望 -->
        <h2 class="section-heading">
            <i class="fas fa-fire-alt"></i> 热门愿望
        </h2>
        
        <div class="wish-grid">
            <!-- 4张图片的愿望 -->
            <div class="wish-card wide-card fade-in">
                <div class="wish-media media-wide">
                    <div class="media-grid four-photos">
                        <img src="https://picsum.photos/600/600?random=31" alt="流浪动物救助站照片1">
                        <img src="https://picsum.photos/600/600?random=32" alt="流浪动物救助站照片2">
                        <img src="https://picsum.photos/600/600?random=33" alt="流浪动物救助站照片3">
                        <img src="https://picsum.photos/600/600?random=34" alt="流浪动物救助站照片4">
                    </div>
                    <div class="image-count">
                        <i class="fas fa-images"></i> 4
                    </div>
                </div>
                
                <div class="wish-info">
                    <span class="wish-type type-relationship">人际类</span>
                    <h3 class="wish-title">救助站急需志愿者帮忙照顾流浪动物，特别是周末</h3>
                    
                    <p class="wish-description">
                        我们的流浪动物救助站目前有30多只猫狗需要照顾，周末人手严重不足。希望有爱心的朋友能抽出时间来帮忙喂食、打扫卫生和陪伴它们。不需要有经验，只要有爱心和耐心就好。我们会提供简单培训和午餐。
                    </p>
                    
                    <div class="author-info">
                        <img src="https://picsum.photos/200/200?random=202" alt="王爱心的头像" class="author-avatar">
                        <div class="author-details">
                            <p class="author-name">王爱心 - 救助站负责人</p>
                            <div class="post-time">发布于 5天前</div>
                        </div>
                    </div>
                    
                    <div class="wish-actions">
                        <div class="action-stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i>
                                <span>3.7k</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i>
                                <span>156</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-heart"></i>
                                <span>982</span>
                            </div>
                        </div>
                        <div class="wish-interactions">
                            <button class="interaction-btn" title="点赞">
                                <i class="far fa-heart"></i>
                            </button>
                            <button class="interaction-btn" title="收藏">
                                <i class="far fa-bookmark"></i>
                            </button>
                            <button class="interaction-btn" title="评论">
                                <i class="far fa-comment"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 1张图片的愿望 -->
            <div class="wish-card fade-in">
                <div class="wish-media media-standard">
                    <div class="media-grid one-photo">
                        <img src="https://picsum.photos/600/600?random=35" alt="自制面包照片">
                    </div>
                    <div class="image-count">
                        <i class="fas fa-images"></i> 1
                    </div>
                </div>
                
                <div class="wish-info">
                    <span class="wish-type type-achievement">成就类</span>
                    <h3 class="wish-title">希望三个月内学会制作 sourdough 酸面包</h3>
                    
                    <p class="wish-description">
                        最近对烘焙产生了浓厚兴趣，特别是酸面包。希望能在三个月内掌握 sourdough 的制作技巧，做出美味又健康的酸面包。寻找有经验的师傅指导，或者一起学习的伙伴。
                    </p>
                    
                    <div class="author-info">
                        <img src="https://picsum.photos/200/200?random=203" alt="张烘焙的头像" class="author-avatar">
                        <div class="author-details">
                            <p class="author-name">张烘焙</p>
                            <div class="post-time">发布于 1周前</div>
                        </div>
                    </div>
                    
                    <div class="wish-actions">
                        <div class="action-stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i>
                                <span>1.2k</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i>
                                <span>42</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-heart"></i>
                                <span>356</span>
                            </div>
                        </div>
                        <div class="wish-interactions">
                            <button class="interaction-btn" title="点赞">
                                <i class="far fa-heart"></i>
                            </button>
                            <button class="interaction-btn" title="收藏">
                                <i class="far fa-bookmark"></i>
                            </button>
                            <button class="interaction-btn" title="评论">
                                <i class="far fa-comment"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 无图片的愿望 -->
            <div class="wish-card fade-in">
                <div class="wish-media media-standard">
                    <div class="no-media">
                        <i class="fas fa-hands-helping"></i>
                        <div>社区互助</div>
                    </div>
                </div>
                
                <div class="wish-info">
                    <span class="wish-type type-relationship">人际类</span>
                    <h3 class="wish-title">希望建立一个社区互助小组，帮助老年人学习使用智能手机</h3>
                    
                    <p class="wish-description">
                        发现社区里很多老年人不会使用智能手机，无法享受数字化带来的便利。希望能组织一些志愿者，定期为他们举办培训班，教他们使用微信、在线支付、健康码等基本功能。
                    </p>
                    
                    <div class="author-info">
                        <img src="https://picsum.photos/200/200?random=204" alt="刘社区的头像" class="author-avatar">
                        <div class="author-details">
                            <p class="author-name">刘社区</p>
                            <div class="post-time">发布于 3天前</div>
                        </div>
                    </div>
                    
                    <div class="wish-actions">
                        <div class="action-stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i>
                                <span>2.1k</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i>
                                <span>87</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-heart"></i>
                                <span>643</span>
                            </div>
                        </div>
                        <div class="wish-interactions">
                            <button class="interaction-btn" title="点赞">
                                <i class="far fa-heart"></i>
                            </button>
                            <button class="interaction-btn" title="收藏">
                                <i class="far fa-bookmark"></i>
                            </button>
                            <button class="interaction-btn" title="评论">
                                <i class="far fa-comment"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 为你推荐 -->
        <h2 class="section-heading">
            <i class="fas fa-compass"></i> 为你推荐
        </h2>
        
        <div class="wish-grid">
            <!-- 2张图片的愿望 -->
            <div class="wish-card fade-in">
                <div class="wish-media media-standard">
                    <div class="media-grid two-photos">
                        <img src="https://picsum.photos/600/600?random=41" alt="露营装备照片1">
                        <img src="https://picsum.photos/600/600?random=42" alt="露营装备照片2">
                    </div>
                    <div class="image-count">
                        <i class="fas fa-images"></i> 2
                    </div>
                </div>
                
                <div class="wish-info">
                    <span class="wish-type type-material">物品类</span>
                    <h3 class="wish-title">寻找一套二手露营装备，准备第一次露营体验</h3>
                    
                    <p class="wish-description">
                        想尝试露营但预算有限，希望能找到一套性价比高的二手露营装备，包括帐篷、睡袋和防潮垫。适合2-3人使用，希望成色较新，有基本的防水功能。
                    </p>
                    
                    <div class="author-info">
                        <img src="https://picsum.photos/200/200?random=205" alt="赵露营的头像" class="author-avatar">
                        <div class="author-details">
                            <p class="author-name">赵露营</p>
                            <div class="post-time">发布于 昨天</div>
                        </div>
                    </div>
                    
                    <div class="wish-actions">
                        <div class="action-stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i>
                                <span>567</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i>
                                <span>23</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-heart"></i>
                                <span>89</span>
                            </div>
                        </div>
                        <div class="wish-interactions">
                            <button class="interaction-btn" title="点赞">
                                <i class="far fa-heart"></i>
                            </button>
                            <button class="interaction-btn" title="收藏">
                                <i class="far fa-bookmark"></i>
                            </button>
                            <button class="interaction-btn" title="评论">
                                <i class="far fa-comment"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 无图片的愿望 -->
            <div class="wish-card fade-in">
                <div class="wish-media media-standard">
                    <div class="no-media">
                        <i class="fas fa-paint-brush"></i>
                        <div>艺术创作</div>
                    </div>
                </div>
                
                <div class="wish-info">
                    <span class="wish-type type-achievement">成就类</span>
                    <h3 class="wish-title">希望今年能完成100幅水彩画，记录生活中的美好瞬间</h3>
                    
                    <p class="wish-description">
                        年初开始学习水彩画，给自己定了个小目标：今年完成100幅作品。目前已经完成了37幅，希望能坚持下去。寻找同样喜欢水彩画的朋友互相鼓励，共同进步。
                    </p>
                    
                    <div class="author-info">
                        <img src="https://picsum.photos/200/200?random=206" alt="陈画画的头像" class="author-avatar">
                        <div class="author-details">
                            <p class="author-name">陈画画</p>
                            <div class="post-time">发布于 2天前</div>
                        </div>
                    </div>
                    
                    <div class="wish-actions">
                        <div class="action-stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i>
                                <span>782</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i>
                                <span>31</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-heart"></i>
                                <span>156</span>
                            </div>
                        </div>
                        <div class="wish-interactions">
                            <button class="interaction-btn" title="点赞">
                                <i class="far fa-heart"></i>
                            </button>
                            <button class="interaction-btn" title="收藏">
                                <i class="far fa-bookmark"></i>
                            </button>
                            <button class="interaction-btn" title="评论">
                                <i class="far fa-comment"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 1张图片的愿望 -->
            <div class="wish-card fade-in">
                <div class="wish-media media-standard">
                    <div class="media-grid one-photo">
                        <img src="https://picsum.photos/600/600?random=43" alt="旧自行车照片">
                    </div>
                    <div class="image-count">
                        <i class="fas fa-images"></i> 1
                    </div>
                </div>
                
                <div class="wish-info">
                    <span class="wish-type type-material">物品类</span>
                    <h3 class="wish-title">求购一辆适合长途骑行的二手自行车，准备环海南岛</h3>
                    
                    <p class="wish-description">
                        计划明年春天环海南岛骑行，需要一辆适合长途的自行车。希望是27速以上，有货架安装孔，车况良好。预算在2000元以内，最好能赠送一些骑行装备。
                    </p>
                    
                    <div class="author-info">
                        <img src="https://picsum.photos/200/200?random=207" alt="孙骑行的头像" class="author-avatar">
                        <div class="author-details">
                            <p class="author-name">孙骑行</p>
                            <div class="post-time">发布于 4天前</div>
                        </div>
                    </div>
                    
                    <div class="wish-actions">
                        <div class="action-stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i>
                                <span>932</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i>
                                <span>45</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-heart"></i>
                                <span>210</span>
                            </div>
                        </div>
                        <div class="wish-interactions">
                            <button class="interaction-btn" title="点赞">
                                <i class="far fa-heart"></i>
                            </button>
                            <button class="interaction-btn" title="收藏">
                                <i class="far fa-bookmark"></i>
                            </button>
                            <button class="interaction-btn" title="评论">
                                <i class="far fa-comment"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 3张图片的愿望 -->
            <div class="wish-card fade-in">
                <div class="wish-media media-standard">
                    <div class="media-grid three-photos">
                        <img src="https://picsum.photos/600/600?random=44" alt="社区花园照片1">
                        <img src="https://picsum.photos/600/600?random=45" alt="社区花园照片2">
                        <img src="https://picsum.photos/600/600?random=46" alt="社区花园照片3">
                    </div>
                    <div class="image-count">
                        <i class="fas fa-images"></i> 3
                    </div>
                </div>
                
                <div class="wish-info">
                    <span class="wish-type type-relationship">人际类</span>
                    <h3 class="wish-title">想在小区里建一个共享菜园，寻找有兴趣的邻居一起参与</h3>
                    
                    <p class="wish-description">
                        发现小区里有块闲置空地，想把它改造成共享菜园，大家可以一起种植蔬菜和花草。既可以美化环境，又能吃到自己种的有机蔬菜。寻找有园艺经验或有兴趣的邻居一起策划和建设。
                    </p>
                    
                    <div class="author-info">
                        <img src="https://picsum.photos/200/200?random=208" alt="林园艺的头像" class="author-avatar">
                        <div class="author-details">
                            <p class="author-name">林园艺</p>
                            <div class="post-time">发布于 1周前</div>
                        </div>
                    </div>
                    
                    <div class="wish-actions">
                        <div class="action-stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i>
                                <span>1.5k</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i>
                                <span>78</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-heart"></i>
                                <span>421</span>
                            </div>
                        </div>
                        <div class="wish-interactions">
                            <button class="interaction-btn" title="点赞">
                                <i class="far fa-heart"></i>
                            </button>
                            <button class="interaction-btn" title="收藏">
                                <i class="far fa-bookmark"></i>
                            </button>
                            <button class="interaction-btn" title="评论">
                                <i class="far fa-comment"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 无图片的愿望 -->
            <div class="wish-card fade-in">
                <div class="wish-media media-standard">
                    <div class="no-media">
                        <i class="fas fa-book-reader"></i>
                        <div>知识学习</div>
                    </div>
                </div>
                
                <div class="wish-info">
                    <span class="wish-type type-achievement">成就类</span>
                    <h3 class="wish-title">希望半年内读完50本经典书籍，组建一个线上读书小组</h3>
                    
                    <p class="wish-description">
                        感觉自己阅读量太少，想系统性地阅读一些经典书籍。计划每个月读8-9本，涵盖文学、历史、哲学和科学等领域。希望能组建一个线上读书小组，每周分享阅读心得。
                    </p>
                    
                    <div class="author-info">
                        <img src="https://picsum.photos/200/200?random=209" alt="吴读书的头像" class="author-avatar">
                        <div class="author-details">
                            <p class="author-name">吴读书</p>
                            <div class="post-time">发布于 3天前</div>
                        </div>
                    </div>
                    
                    <div class="wish-actions">
                        <div class="action-stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i>
                                <span>876</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i>
                                <span>56</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-heart"></i>
                                <span>289</span>
                            </div>
                        </div>
                        <div class="wish-interactions">
                            <button class="interaction-btn" title="点赞">
                                <i class="far fa-heart"></i>
                            </button>
                            <button class="interaction-btn" title="收藏">
                                <i class="far fa-bookmark"></i>
                            </button>
                            <button class="interaction-btn" title="评论">
                                <i class="far fa-comment"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 2张图片的愿望 -->
            <div class="wish-card fade-in">
                <div class="wish-media media-standard">
                    <div class="media-grid two-photos">
                        <img src="https://picsum.photos/600/600?random=47" alt="手工皂材料照片1">
                        <img src="https://picsum.photos/600/600?random=48" alt="手工皂成品照片2">
                    </div>
                    <div class="image-count">
                        <i class="fas fa-images"></i> 2
                    </div>
                </div>
                
                <div class="wish-info">
                    <span class="wish-type type-material">物品类</span>
                    <h3 class="wish-title">求购一批天然手工皂原料，想尝试自制无添加香皂</h3>
                    
                    <p class="wish-description">
                        皮肤比较敏感，想尝试自己制作天然无添加的手工皂。需要橄榄油、椰子油、氢氧化钠和一些天然精油等原料。如果有朋友有多余的材料或者购买渠道，希望能分享一下。
                    </p>
                    
                    <div class="author-info">
                        <img src="https://picsum.photos/200/200?random=210" alt="郑手工的头像" class="author-avatar">
                        <div class="author-details">
                            <p class="author-name">郑手工</p>
                            <div class="post-time">发布于 6天前</div>
                        </div>
                    </div>
                    
                    <div class="wish-actions">
                        <div class="action-stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i>
                                <span>432</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i>
                                <span>18</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-heart"></i>
                                <span>76</span>
                            </div>
                        </div>
                        <div class="wish-interactions">
                            <button class="interaction-btn" title="点赞">
                                <i class="far fa-heart"></i>
                            </button>
                            <button class="interaction-btn" title="收藏">
                                <i class="far fa-bookmark"></i>
                            </button>
                            <button class="interaction-btn" title="评论">
                                <i class="far fa-comment"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 加载更多按钮 -->
        <div class="load-more">
            <button class="load-more-btn">
                <i class="fas fa-sync-alt mr-2"></i>加载更多愿望
            </button>
        </div>
    </div>

    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 分类标签切换
            const categoryTabs = document.querySelectorAll('.category-tab');
            categoryTabs.forEach(tab => {
                tab.addEventListener('click', function() {
                    categoryTabs.forEach(t => t.classList.remove('active'));
                    this.classList.add('active');
                    
                    // 这里可以添加实际的分类筛选逻辑
                    const category = this.textContent;
                    console.log(`切换到分类: ${category}`);
                });
            });
            
            // 滚动显示动画
            const fadeElements = document.querySelectorAll('.fade-in');
            
            const fadeInObserver = new IntersectionObserver((entries) => {
                entries.forEach(entry => {
                    if (entry.isIntersecting) {
                        // 为了让动画有层次感，添加延迟
                        const delay = Array.from(fadeElements).indexOf(entry.target) * 80;
                        setTimeout(() => {
                            entry.target.classList.add('visible');
                        }, delay);
                        fadeInObserver.unobserve(entry.target);
                    }
                });
            }, { threshold: 0.1 });
            
            fadeElements.forEach(element => {
                fadeInObserver.observe(element);
            });
            
            // 互动按钮功能
            const likeButtons = document.querySelectorAll('.interaction-btn[title="点赞"]');
            likeButtons.forEach(button => {
                button.addEventListener('click', function(e) {
                    e.stopPropagation();
                    const icon = this.querySelector('i');
                    if (icon.classList.contains('far')) {
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                        this.style.color = '#28a745';
                    } else {
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                        this.style.color = '#6c757d';
                    }
                });
            });
            
            const saveButtons = document.querySelectorAll('.interaction-btn[title="收藏"]');
            saveButtons.forEach(button => {
                button.addEventListener('click', function(e) {
                    e.stopPropagation();
                    const icon = this.querySelector('i');
                    if (icon.classList.contains('far')) {
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                        this.style.color = '#28a745';
                    } else {
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                        this.style.color = '#6c757d';
                    }
                });
            });
            
            // 评论按钮
            const commentButtons = document.querySelectorAll('.interaction-btn[title="评论"]');
            commentButtons.forEach(button => {
                button.addEventListener('click', function(e) {
                    e.stopPropagation();
                    const wishTitle = this.closest('.wish-card').querySelector('.wish-title').textContent;
                    alert(`查看 "${wishTitle}" 的评论`);
                });
            });
            
            // 分享按钮
            const shareButtons = document.querySelectorAll('.interaction-btn[title="分享"]');
            shareButtons.forEach(button => {
                button.addEventListener('click', function(e) {
                    e.stopPropagation();
                    const wishTitle = this.closest('.wish-card').querySelector('.wish-title').textContent;
                    alert(`分享 "${wishTitle}" 到社交媒体`);
                });
            });
            
            // 卡片点击事件
            const wishCards = document.querySelectorAll('.wish-card');
            wishCards.forEach(card => {
                card.addEventListener('click', function() {
                    const wishTitle = this.querySelector('.wish-title').textContent;
                    alert(`查看愿望详情: ${wishTitle}`);
                });
            });
            
            // 加载更多按钮
            const loadMoreBtn = document.querySelector('.load-more-btn');
            loadMoreBtn.addEventListener('click', function() {
                const icon = this.querySelector('i');
                const text = this.innerHTML;
                
                // 显示加载状态
                icon.classList.add('fa-spin');
                this.disabled = true;
                
                // 模拟加载延迟
                setTimeout(() => {
                    icon.classList.remove('fa-spin');
                    this.disabled = false;
                    
                    // 这里可以添加实际加载更多内容的逻辑
                    alert('已加载全部愿望');
                }, 1500);
            });
        });
    </script>
</body>
</html>
    
